package cn.com.liuwenquan.flex.model
{
    import cn.com.liuwenquan.flex.vo.User;
    
    import mx.collections.ArrayCollection;
    
    [Bindable]
	public class LoginDataModelLocater
	{
		//view上绑定的数据
		public var loginUser:User = new User();
		public var viewStackSelectedIndex:int = 0;
		//菜单数据
        public var xml:XML = new XML();
        public var array:ArrayCollection = new ArrayCollection;
        		
		//定义为单态类
		static private var _instance:LoginDataModelLocater = null;
		
		static public function getInstance():LoginDataModelLocater
		{
			if(_instance == null)
			{
				_instance = new LoginDataModelLocater();
			}
			return _instance;
		}
		
	}
}